package fr.esgi.classes;

public class Personne {
	private int uid;
	private String nom;
	private String prenom;
	private String promotion;
	private int groupe;
	private String email;
	private String role;
	private String mdp;
	
	public int getUid() {
		return uid;
	}

	public String getRole() {
		return role;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}

	public void setPromotion(String promotion) {
		this.promotion = promotion;
	}

	public void setGroupe(int groupe) {
		this.groupe = groupe;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getNom() {
		return nom;
	}

	public String getPrenom() {
		return prenom;
	}

	public String getPromotion() {
		return promotion;
	}

	public int getGroupe() {
		return groupe;
	}

	public String getEmail() {
		return email;
	}
	public Personne(String nom, String prenom, String promotion, int groupe,
			String email,String mdp) {
		super();
		this.nom = nom;
		this.prenom = prenom;
		this.promotion = promotion;
		this.groupe = groupe;
		this.email = email;
		this.setMdp(mdp);
	}
	
	public Personne(int uid,String nom, String prenom, String promotion, int groupe,
			String email, String role) {
		super();
		this.uid=uid;
		this.nom = nom;
		this.prenom = prenom;
		this.promotion = promotion;
		this.groupe = groupe;
		this.email = email;
		this.role = role;
	}

	public Personne(String nom, String prenom, String role, String mail,
			String mdp) {
		// TODO Auto-generated constructor stub
	super();
	this.nom = nom;
	this.prenom = prenom;
	this.email = mail;
	this.role = role;
	this.mdp=mdp;
	}

	public Personne(int id, String nom, String prenom, String email) {
		// TODO Auto-generated constructor stub
		super();
		this.nom = nom;
		this.prenom = prenom;
		this.email = email;
		this.uid=id;
	}

	public Personne() {
		// TODO Auto-generated constructor stub
	}

	public String getMdp() {
		return mdp;
	}

	public void setMdp(String mdp) {
		this.mdp = mdp;
	}
	
}
